home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / Timing / Uhr.lha / Uhr / Uhr.doc < prev    next >
Encoding:
Text File  |  1992-09-24  |  3.5 KB  |  102 lines

  1.  
  2.  
  3.                                     Uhr
  4.  
  5.                                     by
  6.  
  7.                                Stefan Sticht
  8.  
  9.                                PUBLIC DOMAIN
  10.  
  11.  
  12. Uhr is a small, configurable digital clock (Uhr  is  the  german  word  for
  13. clock). Uhr requires at least Kickstart 2.04 and Workbench 2.1.  Just  look
  14. if you have a locale.library, at least V38. If not, you can't use Uhr.
  15.  
  16. Options and Tool Types:
  17.  
  18. UPDATESECONDS   / after how many seconds and
  19. UPDATEMICROS    \ microseconds should the display be updated
  20.  
  21. LEFT            / top left
  22. TOP             \ edge of window
  23.  
  24. WINDOWTOFRONT   - put Uhr's window to front if you update it
  25.  
  26. PRIORITY        - priority to run Uhr, I suggest you to use -1
  27.  
  28. PUBSCREEN       - pubscreen to open the window on
  29.  
  30. SPACE           - enlarge/shrink the window's width; the windows width
  31.                   is determined by the width of the first text to display
  32.                   in pixel plus the width for the close gadget + some
  33.                   additional space; default for additional space is 20
  34.  
  35. FORMAT          - format of Uhr's display, you may use the following
  36.                   commands and any text:
  37.  
  38.                     %a - abbreviated weekday name
  39.                     %A - weekday name
  40.                     %b - abbreviated month name
  41.                     %B - month name
  42.                     %c - same as "%a %b %d %H:%M:%S %Y"
  43.                     %C - same as "%a %b %e %T %Z %Y"
  44.                     %d - day number with leading 0s
  45.                     %D - same as "%m/%d/%y"
  46.                     %e - day number with leading spaces
  47.                     %h - abbreviated month name
  48.                     %H - hour using 24-hour style with leading 0s
  49.                     %I - hour using 12-hour style with leading 0s
  50.                     %j - julian date
  51.                     %m - month number with leading 0s
  52.                     %M - the number of minutes with leading 0s
  53.                     %n - insert a linefeed
  54.                     %p - AM or PM strings
  55.                     %q - hour using 24-hour style
  56.                     %Q - hour using 12-hour style
  57.                     %r - same as "%I:%M:%S %p"
  58.                     %R - same as "%H:%M"
  59.                     %S - number of seconds with leadings 0s
  60.                     %t - insert a tab character
  61.                     %T - same as "%H:%M:%S"
  62.                     %U - week number, taking Sunday as first day of week
  63.                     %w - weekday number
  64.                     %W - week number, taking Monday as first day of week
  65.                     %x - same as "%m/%d/%y"
  66.                     %X - same as "%H:%M:%S"
  67.                     %y - year using two digits with leading 0s
  68.                     %Y - year using four digits with leading 0s
  69.  
  70.                     examples:
  71.  
  72.                     FORMAT "%a %d.%m.%y %X"
  73.                     FORMAT "Today is %a, %T"
  74.  
  75.                  Please note that the resulting display is localized and
  76.                  variies with the language you selected in Locale.
  77.  
  78. To start Uhr with every boot, put Uhr in your WBStartup drawer or add this
  79. line to your User-Startup:
  80.  
  81.                        Run >NIL: <path>Uhr <options>
  82.  
  83. e.g.
  84.  
  85.                 Run >NIL: Tools:Uhr FORMAT "%a %d.%m.%y %X"
  86.  
  87.  
  88. Have fun with it!
  89.  
  90.  
  91. If you have any suggestions,  bug  reports  etc.,  feel  free  to
  92. contact me at the below address.
  93.  
  94.  
  95.          Stefan Sticht
  96.          Bibereckerweg 40a
  97.          D-8390 Passau 18
  98.          Germany
  99.  
  100.          EMail: sticht@edith.deg.sub.org
  101.          Fido: Stefan Sticht (2:246/200.4)
  102.